import Vue from 'vue'
import Router from 'vue-router'

import HomePage from '@/pages/homePage/HomePage'
import Information from '@/pages/information/Information'
import Production from '@/pages/production/Production'
import CreativeSpace from '@/pages/creativeSpace/CreativeSpace'
import Composer from '@/pages/composer/Composer'
import Login from '@/pages/personCenter/LoginRejister'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path:"/",
      name:"App",
      redirect:"/index"
    },
    {
      path:'/index',
      name:"Index",
      component: HomePage
    },
    {
      path:'/information',
      name:"Information",
      component: Information
    },
    {
      path:'/production',
      name:"Production",
      component: Production
    },
    {
      path:'/creativeSpace',
      name:"Index",
      component: CreativeSpace
    },
    {
      path:'/composer',
      name:"Composer",
      component: Composer
    },
    {
      path:'/login',
      name:"LoginRejiester",
      component: Login
    },
    
  ]
})
